package cs.android.lang;

import cs.java.event.Event;

public interface ServerRequest {
	String getExceptionDetails();

	String getExceptionMessage();

	int getMessageId();

	Event<ServerRequest> getOnDone();

	Event<ServerRequest> getOnFailed();

	Event<ServerRequest> getOnLoaded();

	Event<ServerRequest> getOnSuccess();

	boolean isDone();

	boolean isLoaded();

	boolean isSuccess();

	void run();

	void stop();

}
